package com.ruibang.glass.material.domain.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author: songJinKang
 * @CreateTime: 2024-03-27  15:05
 * @Description: TODO
 * @Version: 1.0
 */
@Data
public class BucketLoadReq {
    @ApiModelProperty(value = "容器ID")
    @NotBlank(message = "容器ID不可为空")
    private String containerId;
    @ApiModelProperty(value = "物料数量")
    @NotNull(message = "物料数量不可为空")
    private Integer num;
    @ApiModelProperty(value = "物料名称")
    @NotNull(message = "物料名称不可为空")
    private String materialName;
    @ApiModelProperty(value = "库位码")
    @NotBlank(message = "库位码不可为空")
    private String warehousePositionCode;
    @ApiModelProperty(value = "配方编号")
    @NotBlank(message = "配方编号不可为空")
    private String formulaCode;

}
